Skip to main content

GetSHXText

Unit: SHX.pas

Description

Returns the set of TsgSHXVertex basing on text string to SHX Font text string with predefined by the ASHXStyles and Style parameters.

ParametersDescription
ASHXStylesThe instance of the TsgSHXFontList object
StyleDefines the converting style
TextThe object of the sgRawByteString type
WideTextThe wide text string
CodePageThe code page that specifies symbols in SHX. Ignored in Delphi versions older than 2009.
PolyThe list of the SHX Font text string
AboveThe above value of the SHX Font defined in Font
BelowThe below value of the SHX Font defined in Font
Left, Bottom, Right, TopThe rectangle of the SHX Font text string

Returns:

ValueDescription
PolyThe set of vertexes of SHX Font text string
Above, BelowThe above and below parameters of the SHX Font defined in Font
Left, Bottom, Right, TopThe border rectangle of the SHX Font text string

Syntax

procedure GetSHXText(ASHXStyles: TsgSHXFontlist; const Style: string; Text: sgRawByteString; WideText: WideString; CodePage: Integer; Poly: TList; var Above, Below, Left, Bottom, Right, Top: Double);